import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible/flexible'
import '@/assets/css/common.css'
import '../rem'
import '@/assets/css/iconfont/iconfont.css'
import '@/assets/css/reset.css'
import axios from 'axios'
import 'babel-polyfill' // 手机白屏无promise解决办法
import { Swipe, SwipeItem, Lazyload, NavBar } from 'vant'
axios.defaults.baseURL = 'http://localhost:8080/travel'
Vue.use(Lazyload)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(NavBar)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
